package com.yeyks.common.param;

import com.yeyks.common.annotation.StrNotEmpty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;

/**
 * @author fuchangshuai
 * @date 2019/07/12 14:17
 */
@Data
public class WithdrawalUpdateCardParam implements Serializable {
    private static final long serialVersionUID = -3804500057738210313L;

    @ApiModelProperty("银行卡号")
    @StrNotEmpty(message = "银行卡号不能为空")
    private String bankCard;

    @ApiModelProperty("开户支行")
    @StrNotEmpty(message = "开户支行不能为空")
    private String branchBankName;

    @ApiModelProperty("银行名称")
    @StrNotEmpty(message = "银行名称不能为空")
    private String bankName;

    @ApiModelProperty("用户名")
    @StrNotEmpty(message = "用户名不能为空")
    private String userName;

    @ApiModelProperty("需要修改的酒店id(hotelId为空修改总公司卡信息，不为空修改相应酒店的卡信息)")
    private Integer hotelId;

    @ApiModelProperty("类型(0 个人账户，1对公账户，总公司账户可以不传)")
    private Integer type;
}
